package com.example.administrator.base.activity;

import android.os.Bundle;

import android.view.View;

import com.example.administrator.base.baseActivity.BaseActivity;
import com.example.administrator.base.R;

import butterknife.ButterKnife;
import butterknife.InjectView;
import okhttp3.Response;

public class test extends BaseActivity {

    @InjectView(R.id.Toolbar)
    android.support.v7.widget.Toolbar Toolbar;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test);
        ButterKnife.inject(this);
        Toolbar.setTitle("赳猎人");
        Toolbar.setSubtitle("开发中");
        setSupportActionBar(Toolbar);
        Toolbar.setNavigationIcon(R.drawable.backbar);
        Toolbar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

    }

    @Override
    protected void onResponseSuccess(Response response, String action) {

    }

    @Override
    protected void onResponseFailure(Throwable e, String action) {

    }
}
